using System;
using System.Collections.Generic;
using System.Text;
using System.Data.OracleClient;
namespace TerryDong.Data
{
    public sealed class DbOracle : DbBase
    {
        private System.Data.Common.DbProviderFactory factory;

        public DbOracle(string connString)
        {
            factory = System.Data.Common.DbProviderFactories.GetFactory("System.Data.OracleClient");
            this.CreateInstance(connString);
        }

        protected override void CreateInstance(string connString)
        {
            DataFactory = factory;
            ConnectionString = connString;
        }
    }
}
